﻿using System;
using System.Collections.Generic;
using System.Text;
using T.FAS.Runtime.Base.Entity;
using T.FAS.Runtime.Metadata.Entity;

namespace T.FAS.Runtime.Metadata.Entity.DataModel
{
    class RefSchemaExprUtil
    {
        public class Const
        {
            public const string Code = "Code";
            public const string Text = "Text";
            public const string Name = "Name";
        }

        public static string GetExpr(string exprContent, bool isNeedAddNewLayer = false)
        {
            if (isNeedAddNewLayer)
                return $"${{{exprContent}}}";
            else
                return exprContent;
        } 
    }
}
